package com.xgpro.pc.rolemanage.service;

import com.xgpro.common.results.ResponseResult;
import com.xgpro.domain.rolemanage.entity.Permissions;
import com.xgpro.domain.rolemanage.entity.Role;

import java.util.List;
import java.util.Map;


public interface RoleService {


    public ResponseResult addRole(Role role);

    public ResponseResult deleteRole(List<Integer> ids);

    public ResponseResult updateRole(Role role);

    public ResponseResult getRole(int pageNum, int pageSize, Map<String,Object> param);

    Role findOne(Integer roleId);

    List<Permissions> findPermListByRoleId(Integer roleId);
}
